<!-- start: Container -->
<div class="container">
    <!-- start: Page Title Icon-->
    <div id="page-title-icon"></div>
    <div id="page-title-icon-inner">
        <i class="ico-google-maps ico-white"></i>
    </div>
    <!-- end: Page Title Icon-->
    <!-- start: Page Title -->
    <section id="page-title">
        <h2><span>Thông tin của<?php echo $user->email ?></span></h2>
    </section>
</div>
<div id="wrapper" class="white-wrapper">
    <!-- end: Container  -->
    <!-- start: Container -->
    <div class="container">

        <!-- start: Contact Form -->
        <div class="sixteen columns">

            <div class="form-spacer"></div>

            <!-- Success Message -->
            <div class="success-message">
                <div class="notification success closeable">
                    <p><span>Success!</span> Your message has been sent.</p>
                </div>
            </div>

            <!-- start: Contact Form -->
            <div id="contact-form">
                <form method="post" name="profile-Form" class="require-validate " action="<?php echo $this->url ("frontenduser", array('controller' => 'user', 'action' => 'profile'))?>" enctype="multipart/form-data">
                    <div class="form-left">
                        <div class="field">
                            <label>Họ tên: <span>*</span></label>
                            <input type="text" name="name" disabled="disabled" class="text" value="<?php echo $user->name ?>" />
                        </div>
                        <div class="field">
                            <label>Email:</label>
                            <input type="text" name="address" disabled="disabled" class="text"  value="<?php echo $user->email ?>"/>
                        </div>

                        <div class="field">
                            <label>Địa chỉ:</label>
                            <input type="text" name="address" disabled="disabled" class="text"  value="<?php echo $user->address ?>"/>
                        </div>

                        <div class="field">
                            <label>Số điện thoại: </label>
                            <input type="text" name="phone" disabled="disabled" class="text" value="<?php echo $user->phone ?>" />
                        </div>
                        <div class="field">
                            <button type="button" id="add-friend" data-id="<?php echo $user->id ?>" class="button color">Add Friend</button>
                        </div>
                    </div>
                    <div class="form-right">
                        <div class="field">
                            <label>Ảnh đại diện: </label>
                            <div class="preview-avatar">
                                <img style="width: 100px;height: 100px" src="<?php echo $user->avatar; ?>">
                            </div>

                        </div>

                    </div>
                </form>
            </div>
            <!-- end: Contact Form -->

        </div>
        <!-- end: Contact Form -->

    </div>
    <!-- end: Container -->
</div>
<script type="text/javascript">
    jQuery(document).ready(function(){
        var status = jQuery("#status").val();
        if(status == 1){
            jsuccess('Save Success!');
        }

    });
</script>